package com.note.simpleadmin.vo;

/**
 * 作者： xubingbing
 * 描述：接口返回的数据类型
 * 创建日期：2017年10月18日
 */
public class Msg
{
	private Integer errorCode;
	private String msg;
	private Object data;
	private String url;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Msg(Integer errorCode, String msg, Object data)
	{
		super();
		this.errorCode = errorCode;
		this.msg = msg;
		this.data = data;
	}
	public Msg()
	{
		
	}
	public Msg(Integer errorCode, String msg)
	{
		super();
		this.errorCode = errorCode;
		this.msg = msg;
		this.data ="";
	}
	public Integer getErrorCode()
	{
		return errorCode;
	}
	public void setErrorCode(Integer errorCode)
	{
		this.errorCode = errorCode;
	}
	public String getMsg()
	{
		return msg;
	}
	public void setMsg(String msg)
	{
		this.msg = msg;
	}
	public Object getData()
	{
		return data;
	}
	public void setData(Object data)
	{
		this.data = data;
	}
}
